package com.groupbuying.provider.dao;


import com.groupbuying.provider.domain.StoreCheckoutCounterDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 收款台管理
 * @author wenguoqiang
 * @email 17081@mengtaigroup.com
 * @date 2019-01-25 09:25:19
 */
@Mapper
@Repository
public interface StoreCheckoutCounterDao {

	StoreCheckoutCounterDO get(String uuid);
	
	List<StoreCheckoutCounterDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);


	/**
	 * 获取商户id和规则id通过收银台id
	 * @param params
	 * @return
	 */
	Map<String, Object> getStoreIdAndRuleIdByCounterId(Map<String, Object> params);
}
